﻿/// <reference path="../Complaint.Namespaces.js" />
/// <reference path="../../Microsoft/MicrosoftAjax.debug.js" />

//Type: Contact
Complaint.POCO.BasePOCO = function() {
    ///	<summary>
    ///		Represents base class for application domain objects.
    ///	</summary>
    this.toJson = function() { return Sys.Serialization.JavaScriptSerializer.serialize(this); };
    this.toObject = function(json) { return Sys.Serialization.JavaScriptSerializer.deserialize(json); };
}
Complaint.POCO.BasePOCO.prototype.toJson = Complaint.POCO.BasePOCO.toJson;
Complaint.POCO.BasePOCO.prototype.toObject = Complaint.POCO.BasePOCO.toObject;